<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>渐变</title>
</head>
<body>
    <div id="one"></div>
    <br>
    <div id="two"></div>
    <br>
    <div id="three"></div>
    <br>
    <div id="four"></div>
    <br>
    <div id="five"></div>
    <br>
    <p><a href="./个人主页.html">个人主页</a></p>
</body>
<style>
    #one{
        border: red double 2px;
        width:200px;
        height: 200px;
        background-image: linear-gradient(90deg,yellow,orange,25%,purple);
    }
    #two{
        border: red double 2px;
        width:200px;
        height: 200px;
        background-image:linear-gradient(54deg,red,orange,yellow,green,blue 50%)
    }
    #three{
        border: red double 2px;
        width:200px;
        height: 200px;
        background-image: radial-gradient(circle,yellow,green);
    }
    #four{
        border: red double 2px;
        width: 200px;
        height: 200px;
        background-image:radial-gradient(200px 200px,aqur,green);
    }
    #five{
        border: red double 2px;
        width:200px;
        height: 200px;
        background-image:repeating-linear-gradient(to bottom,white,silver 30px)
    }

</style>
</html>